<?php

namespace App\Http\Controllers\V1\Api;

use App\Models\V1\Advert;

use App\Models\V1\Config;
use App\Models\V1\News;
use App\Models\V1\Notice;
use Illuminate\Http\Request;

class ConfigController extends BaseController
{


    /**
     * 配置详情
     *
     * @return \Illuminate\Http\Response
     */
    public function info(Request $request)
    {
        $id = $request->input('id',50);
        $data = Config::find($id);
        $data['cjkfz'] = Config::find(53);
        if (!$data) {
            return ajax_output(300, "数据不存在");
        }
        return ajax_output(200, "成功", $data);
    }


}
